package com.school.service;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.school.entity.HljtOnduty;
import com.school.entity.HljtStudent;


public interface HljtStudentService {
	/***
	 * 查询学生作品，荣誉等
	 * @param hljtStudent
	 * @return
	 */
	List<HljtStudent> studentWorks(HljtStudent hljtStudent);
	/***
	 * 查询学生值日
	 * @param hljtStudent
	 * @return
	 */
	List<HljtOnduty> studentDuty(HljtOnduty hljtOnduty);

	/**
	 * 通过学生id查找对应学生信息
	 * @param studentId
	 * @param classId
	 * @return
	 */
	public HljtStudent findStudent(Integer id);
	/**
	 * 通过学生id查找对应学生信息
	 * @param studentId
	 * @param classId
	 * @return
	 */
	public HljtStudent selectStudent(Integer classid,String studentName);
	/**
	 * 通过学生名字模糊查找
	 * @param studentId
	 * @param classId
	 * @return
	 */
	public List<HljtStudent> findStudentName(String name,Integer pageSize,Integer  pageIndex);
	
	/**
	 * 学生信息修改
	 * @param hljtStudent
	 * @return
	 */
	Integer updateStudent(HljtStudent hljtStudent);
	
	/**
	 * 学生信息修改
	 * @param hljtStudent
	 * @return
	 */
	Integer updateStudents(HljtStudent hljtStudent);
	
	/***
	 * 添加学生信息
	 * @param hljtStudent
	 * @return
	 */
	Integer addStudent(List<HljtStudent> hljtStudent);
	
	/***
	 * 根据班级查询学生信息
	 * @param hljtStudent
	 * @return
	 */
	Map<String , Object> selectStudentByClassId(HljtStudent hljtStudent);
	
	/***
	 * 修改为该学生不可见
	 * @param hljtStudent
	 * @return
	 */
	Integer updateStudentByClassId(List<HljtStudent> hljtStudent);
	
	/***
	 * 修改为该学生信息
	 * @param hljtStudent
	 * @return
	 */
	Integer updateStudentInfoByClassId(HljtStudent hljtStudent);
	
	/**
	 * 查询班级之星数量
	 * @return
	 */
	List<HljtStudent> findStudentAll();
	
	


}
